package com.study.zouchao.superproject.modifyuserinfo.model.entity.updateinfo;

import com.study.zouchao.superproject.util.StringUtils;

/**
 *  事实上 该类和 User一模一样
 *    只是差一个status
 * Created by Administrator on 2017/1/30.
 */

public class ModifyUseInfoBean {

    private long id;
    private String username;
    private String token;
    private String name;
    private String tel;
    private String email;
    private String imgUrl;
    private String nickname;
    private String roleId;
    private String roleName;
    private String birthday;
    private String resume;
    private String createTime;

    public String getRoleName() {
        return roleName;
    }

    public ModifyUseInfoBean setRoleName(String roleName) {
        this.roleName = roleName;
        return this;
    }

    public long getId() {
        return id;
    }

    public ModifyUseInfoBean setId(long id) {
        this.id = id;
        return this;
    }

    public String getUsername() {
        return username;
    }

    public ModifyUseInfoBean setUsername(String username) {
        this.username = username;
        return this;
    }

    public String getToken() {
        return token;
    }

    public ModifyUseInfoBean setToken(String token) {
        this.token = token;
        return this;
    }

    public String getName() {
        return name;
    }

    public ModifyUseInfoBean setName(String name) {
        this.name = name;
        return this;
    }

    public String getTel() {
        return tel;
    }

    public ModifyUseInfoBean setTel(String tel) {
        this.tel = tel;
        return this;
    }

    public String getEmail() {
        return email;
    }

    public ModifyUseInfoBean setEmail(String email) {
        this.email = email;
        return this;
    }

    public String getRoleId() {
        return roleId;
    }

    public ModifyUseInfoBean setRoleId(String roleId) {
        this.roleId = roleId;
        return this;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public ModifyUseInfoBean setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
        return this;
    }

    public String getNickname() {
        return nickname;
    }

    public ModifyUseInfoBean setNickname(String nickname) {
        this.nickname = nickname;
        return this;
    }

    public String getSex() {
        return sex;
    }

    public ModifyUseInfoBean setSex(String sex) {
        this.sex = sex;
        return this;
    }

    public String getBirthday() {
        return birthday;
    }

    public ModifyUseInfoBean setBirthday(String birthday) {
        this.birthday = birthday;
        return this;
    }

    public String getResume() {
        return resume;
    }

    public ModifyUseInfoBean setResume(String resume) {
        this.resume = resume;
        return this;
    }

    public String getCreateTime() {
        return createTime;
    }

    public ModifyUseInfoBean setCreateTime(String createTime) {
        this.createTime = createTime;
        return this;
    }


    /**
     * 新Api
     */

    private int userId;
    private String userName;
    private String nickName;
    private String passsword;
    private int balance;
    private String userArea;
    private String sex;
    private String headimg;

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPasssword() {
        return passsword;
    }

    public void setPasssword(String passsword) {
        this.passsword = passsword;
    }

    public int getBalance() {
        return balance;
    }

    public void setBalance(int balance) {
        this.balance = balance;
    }

    public String getUserArea() {
        return userArea;
    }

    public void setUserArea(String userArea) {
        this.userArea = userArea;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    @Override
    public String toString() {
        return "ModifyUseInfoBean{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", token='" + token + '\'' +
                ", name='" + name + '\'' +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", nickname='" + nickname + '\'' +
                ", roleId='" + roleId + '\'' +
                ", roleName='" + roleName + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday='" + birthday + '\'' +
                ", resume='" + resume + '\'' +
                ", createTime='" + createTime + '\'' +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", passsword='" + passsword + '\'' +
                ", balance=" + balance +
                ", userArea='" + userArea + '\'' +
                ", sex='" + sex + '\'' +
                ", headimg='" + headimg + '\'' +
                '}';
    }
}
